//package qf.common.logback.controller;
//
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//import qf.common.logback.annotation.Log;
//import qf.common.logback.enums.BusinessType;
//import qf.common.logback.enums.OperatorType;
//
//
//@RequestMapping(value = "log")
//@RestController
//public class LogBackTest {
//
//    private static final Logger LOG = LoggerFactory.getLogger(LogBackTest.class);
//
//    @GetMapping(value = "/test1")
//    @Log(title = "测试类",businessType = BusinessType.OTHER,operatorType = OperatorType.MANAGE)
//    public String test(){
//        LOG.info("我进来啦。。。。。。。。。。。。。。。");
//        LOG.error("我进来啦。。。。。。。。。。。。。。。");
//        LOG.warn("我进来啦。。。。。。。。。。。。。。。");
//        LOG.debug("我进来啦。。。。。。。。。。。。。。。");
//        return "123";
//    }
//}
//
